namespace go industics.blockchain.plan

include "base.thrift"

service PlanService {
    base.BaseGetResp GetProductionPlan(1:base.BaseGetReq req)
    base.BaseGetResp GetProductionPlanReport(1:base.BaseGetReq req)

    base.BaseGetResp GetProductionPlanHistory(1:base.BaseGetReq req)
    base.BaseGetResp GetProductionPlanReportHistory(1:base.BaseGetReq req)

    base.BaseGetResp GetProductionPlanByRange(1:base.BaseRangeGetReq req)
    base.BaseGetResp GetProductionPlanReportByRange(1:base.BaseRangeGetReq req)

    base.BasePostResp CreateProductionPlan(1:base.BasePostReq req)
    base.BasePostResp CreateProductionPlanReport(1:base.BasePostReq req)

    base.BasePutResp UpdateProductionPlan(1:base.BasePutReq req)
    base.BasePutResp UpdateProductionPlanReport(1:base.BasePutReq req)

    base.BaseDeleteResp DeleteProductionPlan(1:base.BaseDeleteReq req)
    base.BaseDeleteResp DeleteProductionPlanReport(1:base.BaseDeleteReq req)
}